
using System;
using System.Collections.Generic;
using System.Linq;
using MonoTouch.Foundation;
using MonoTouch.UIKit;

namespace CiA
{
	public partial class TourRoomViewController : UIViewController
	{
		#region Constructors

		// The IntPtr and initWithCoder constructors are required for items that need 
		// to be able to be created from a xib rather than from managed code

		public TourRoomViewController (IntPtr handle) : base(handle)
		{
			Initialize ();
		}

		[Export("initWithCoder:")]
		public TourRoomViewController (NSCoder coder) : base(coder)
		{
			Initialize ();
		}

		public TourRoomViewController () : base("TourRoomViewController", null)
		{
			Initialize ();
		}

		void Initialize ()
		{
		}
		
		#endregion
		
		public override void ViewDidLoad ()
		{
			base.ViewDidLoad ();
			
			Console.WriteLine("Tour Room Controller view loaded");
			
			//if not logged in then
			LoginNavigationController loginNavigationController = new LoginNavigationController();
			this.PresentModalViewController(loginNavigationController,true);
			
			
		}
	}
}

